package com.example.demo.dao.entity;

import java.util.Date;

public class QuestionnaireEntity {

    public QuestionnaireEntity() {
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public QuestionnaireEntity(String id, String projectName, String name, String content, String type, String status, Date startTime, Date stopTime ) {
        this.id = id;
        this.projectName = projectName;
        this.name = name;
        this.content = content;
        this.type = type;
        this.status = status;
        this.startTime = startTime;
        this.stopTime = stopTime;
    }

    @Override
    public String toString() {
        return "QuestionnaireEntity{" +
                "id='" + id + '\'' +
                ", projectName='" + projectName + '\'' +
                ", name='" + name + '\'' +
                ", content='" + content + '\'' +
                ", type='" + type + '\'' +
                ", status='" + status + '\'' +
                '}';
    }

    private String id;
    private String projectName;
    private String name;
    private String content;
    private String type;
    private String status;
    private Date startTime;
    private Date stopTime;

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getStopTime() {
        return stopTime;
    }

    public void setStopTime(Date stopTime) {
        this.stopTime = stopTime;
    }
}
